/*
 * Copyright (C) 2015 - present Instructure, Inc.
 *
 * This file is part of Canvas.
 *
 * Canvas is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Affero General Public License as published by the Free
 * Software Foundation, version 3 of the License.
 *
 * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
 * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Affero General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>.
 */

@import "base/environment";

#select_context_content_dialog {
  padding: 35px;
  #context_external_tools_select {
    .tools {
      vertical-align: top;
      padding: 10px 0;
      max-height: 150px;
      overflow: auto;
      .tool {
        border-radius: 3px;
        padding: 2px 5px;
        border-bottom: 1px dotted #ccc;
        cursor: pointer;
        .name {
          font-weight: bold;
          display: block;
        }
        .description {
          max-height: 3.5em;
          overflow: hidden;
          font-size: 0.8em;
        }
        &:hover {
          background-color: #eee;
        }
        &.selected {
          background-color: #ddd;
        }
        &.resource_selection {
          .name {
            margin-right: 20px;
            background: url(/images/find.png) no-repeat right center;
          }
        }
      }
    }
  }
}
